package com.clusterconfig.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyUpEvent;
import com.google.gwt.event.dom.client.KeyUpHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;

//TODO there is room to tidy up versions, like make EAP value 5.0.0 then can key mod_cluster off that, right now including full paths, not optimal
//TODO http://www.jboss.org/errai
//TODO Make the chrome error only show up once, I guess could make an instance var on EntryPoint and increment it in the constructor, that should work
// http://dryicons.com/free-icons/preview/coquette-icons-set/
// # TODO for mod_jk and mod_proxy add csv for contexts for adding custom contexts automatically, or just map /*?
//TODO add instructions for manually startring JBoss and Apache and caveats
// Add JBoss AS 6
// Add usage for cluster config
// To get the gwt plugin working in FC 13 X86_64 with Firefox 3.6
// cd /usr/lib64
// sudo ln -s libnspr4.so libnspr4.so.0d
// rm -f /home/smendenh/.mozilla/firefox/8mlfk4js.default/compreg.dat
// rm -f /home/smendenh/.mozilla/firefox/8mlfk4js.default/xpti.dat
// restart firefox
// Ref: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/d294f2965fd39975?lnk=gst&q=firefox+plugin#d294f2965fd39975
public class Appconfig implements EntryPoint {
	
	/**
	 * This is the entry point method.
	 *
	 */
	//Customer should add another apache server.
	public void onModuleLoad() {
		
		Main mainUiBinder = new Main();
	    RootPanel.get().add(mainUiBinder);
	    
	}
	
}

